package com.ygqh.baby.po;

import com.ygqh.baby.ao.DataStatus;

import java.util.Date;

/**
 * @author Ss
 */
public class YgSearchWords {
	private Long id;

	private String words;

	private Long hot;

	private DataStatus status;

	private Date createTime;

    private Date updateTime;

	private String remark;

    private Long dbHit;

    private Long searchHit;

	public YgSearchWords() {
	}

	public YgSearchWords(String words) {
		this.words = words;
	}

	public YgSearchWords(String words, Long dbHit, Long searchHit) {
		this.words = words;
		this.dbHit = dbHit;
		this.searchHit = searchHit;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getWords() {
		return words;
	}

	public void setWords(String words) {
		this.words = words == null ? null : words.trim();
	}

	public Long getHot() {
		return hot;
	}

	public void setHot(Long hot) {
		this.hot = hot;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getDbHit() {
        return dbHit;
    }

    public void setDbHit(Long dbHit) {
        this.dbHit = dbHit;
    }

    public Long getSearchHit() {
        return searchHit;
    }

    public void setSearchHit(Long searchHit) {
        this.searchHit = searchHit;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
	public String toString() {
		return "YgSearchWords{" +
				"id=" + id +
				", words='" + words + '\'' +
				", hot=" + hot +
				", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
				", remark=" + remark +
                ", dbHit=" + dbHit +
                ", searchHit=" + searchHit +
				'}';
	}
}